package com.jty.lib_base.room.bean

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "grid_no_submit")
data class GridNoSubmit(@PrimaryKey() var id: Long, //图片存储的名字用这个id, 如果有必要可以根据功能划分文件夹
                        @ColumnInfo(name = "pageserial") var pageserial: String = "",
                        @ColumnInfo(name = "pageNumber") var pageNumber: Int,
                        @ColumnInfo(name = "pictureName") var pictureName: String?,
                        @ColumnInfo(name = "pictureUrl") var pictureUrl: String,
                        @ColumnInfo(name = "width") var width: Int,
                        @ColumnInfo(name = "height") var height: Int,
                        @ColumnInfo(name = "bookId") var bookId: Int,
                        @ColumnInfo(name = "sort") var sort: Int //用于排序
)
